| Conditions | 1 |
| Paths | 1 |
| Total Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 4 | ||
| Bugs | 0 | Features | 0 |
| 1 | /** global: jest */ |
||
| 17 | test('POST plain text into page with certain streamId', (done) => { |
||
| 18 | request.headers = { 'x-forwarded-for': 'testIp', 'content-type': 'text/plain' }; |
||
| 19 | request.body = 'Test with plain text body.'; |
||
| 20 | const response = { status: jest.fn(), send: () => done() }; |
||
| 21 | |||
| 22 | router.handle(request, response); |
||
| 23 | }); |
||
| 24 | |||
| 40 |